unit uprincipal;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, DB, DBTables, Grids, DBGrids, StdCtrls, Buttons, ExtCtrls, Mask,
  DBCtrls;

type
  TFprincipal = class(TForm)
    Panel1: TPanel;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    BitBtn6: TBitBtn;
    BitBtn3: TBitBtn;
    BitBtn4: TBitBtn;
    BitBtn5: TBitBtn;
    procedure BitBtn1Click(Sender: TObject);
    procedure BitBtn2Click(Sender: TObject);
    procedure BitBtn6Click(Sender: TObject);
    procedure BitBtn3Click(Sender: TObject);
    procedure BitBtn4Click(Sender: TObject);
    procedure BitBtn5Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Fprincipal: TFprincipal;

implementation

uses utipos, uclientes, uprocessos, ucertidoes, Ufunciona;

{$R *.dfm}

procedure TFprincipal.BitBtn1Click(Sender: TObject);
begin
application.createform(tfclientes,fclientes);
fclientes.showmodal;
fclientes.release;
end;

procedure TFprincipal.BitBtn2Click(Sender: TObject);
begin
application.createform(tftipos,ftipos);
ftipos.ShowModal;
ftipos.release;
end;

procedure TFprincipal.BitBtn6Click(Sender: TObject);
begin
close;
end;

procedure TFprincipal.BitBtn3Click(Sender: TObject);
begin
application.Createform(tfprocessos,fprocessos);
fprocessos.showmodal;
fprocessos.Release;
end;

procedure TFprincipal.BitBtn4Click(Sender: TObject);
begin
application.CreateForm(tfcertidoes,fcertidoes);
fcertidoes.showmodal;
fcertidoes.Release;
end;

procedure TFprincipal.BitBtn5Click(Sender: TObject);
begin
application.createform(tffunciona,ffunciona);
ffunciona.ShowModal;
ffunciona.release;

end;

end.
